package com.dongjiantong.common.model;

import java.io.Serializable;

/**
 * Created by cao on 2017/11/7.
 */
public class TokenModel implements Serializable {

    private static final long serialVersionUID = -750644833749014618L;

    //用户id
    private long userId;

    //随机生成的uuid
    private String token;


    //设备id
    private String deviceId;

    //设备名称
    private String deviceName;

    //登录ip
    private String ip;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }



}
